#!/usr/bin/env bash

set -u

fzf_key_bindings="source \"$(pwd)/shell/key-bindings.bash\""

cat > ~/.fzf.bash << EOF
# Key bindings
# ------------
$fzf_key_bindings
EOF

echo "[ -f ~/.fzf.bash ] && source ~/.fzf.bash" >> ~/.bashrc
